# Created by: Olivier Duchateau
# $FreeBSD: head/audio/siren/Makefile 374303 2014-12-08 16:48:38Z tijl $

PORTNAME=	siren
PORTVERSION=	0.5
CATEGORIES=	audio
MASTER_SITES=	http://www.kariliq.nl/${PORTNAME}/dist/

MAINTAINER=	olivierd@FreeBSD.org
COMMENT=	Text-based audio player

LICENSE=	ISCL

LIB_DEPENDS=	libFLAC.so:${PORTSDIR}/audio/flac \
	libid3tag.so:${PORTSDIR}/audio/libid3tag \
	libmad.so:${PORTSDIR}/audio/libmad \
	libvorbis.so:${PORTSDIR}/audio/libvorbis \
	libwavpack.so:${PORTSDIR}/audio/wavpack

USES=	ncurses pkgconfig
HAS_CONFIGURE=	yes
USE_CSTD=	c99

OPTIONS_SINGLE=	SOUND
OPTIONS_SINGLE_SOUND=	OSS PULSEAUDIO
OPTIONS_DEFAULT=	OSS
OSS_CONFIGURE_ON=	oss=yes pulse=no
PULSEAUDIO_LIB_DEPENDS=	libpulse.so:${PORTSDIR}/audio/pulseaudio
PULSEAUDIO_CONFIGURE_ON=	oss=no pulse=yes
OPTIONS_SUB=	yes

CONFIGURE_ARGS=	sndfile=no \
	alsa=no \
	ao=no \
	sndio=no \
	sun=no

.include <bsd.port.mk>
